package cn.mesmile.shiro.module.user.service.impl;

import cn.mesmile.shiro.module.user.entity.UserRole;
import cn.mesmile.shiro.module.user.mapper.UserRoleMapper;
import cn.mesmile.shiro.module.user.service.UserRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import lombok.AllArgsConstructor;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zb
 * @date 2021/02/04 15:09
 */
@AllArgsConstructor
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS, rollbackFor = Exception.class)
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService {

    private final UserRoleMapper UserRoleMapper;
}
